import React from 'react';
import { Component } from 'react';

// React component
export default class Counter extends Component{
  render(){
    const { value, actions } = this.props;
    return (
      <div>
        <span>{value}</span>
        <button onClick={actions.onIncreaseClick}>Increase</button>
      </div>
    );
  }
};